home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / MW MPW Binaries 1.1.1a2 / mwcPPC / MWCIncludes / defines < prev    next >
Encoding:
Text File  |  1994-07-18  |  786 b   |  47 lines  |  [TEXT/MMCC]

  1. // defines standard header
  2. #ifndef _DEFINES_
  3. #define _DEFINES_
  4. #ifndef _YXVALS_
  5.  #include <yxvals.h>
  6. #endif
  7.  
  8. #if __MWERKS__
  9. #pragma options align=mac68k
  10. #endif
  11.  
  12.         // type definitions
  13. typedef void fvoid_t();
  14. #ifndef    _PTRDIFFT
  15.  #define _PTRDIFFT
  16.  typedef _Ptrdifft ptrdiff_t;
  17. #endif
  18. #ifndef _SIZET
  19.  #define _SIZET
  20.  typedef _Sizet size_t;
  21. #endif
  22. #ifndef _WCHART
  23.  #define _WCHART
  24.  typedef _Wchart wchar_t;
  25. #endif
  26. #ifndef _WINTT
  27.  #define _WINTT
  28.  typedef _Wintt wint_t;
  29. #endif
  30. enum capacity {default_size, reserve};
  31.         // constants
  32. const size_t NPOS = (size_t)(-1);
  33.         // functions
  34. void _Nomemory();
  35.  
  36. #if __MWERKS__
  37. #pragma options align=reset
  38. #endif
  39.  
  40. #endif
  41.  
  42. /*
  43.  * Copyright (c) 1994 by P.J. Plauger.  ALL RIGHTS RESERVED. 
  44.  * Consult your license regarding permissions and restrictions.
  45.  */
  46.  
  47.